<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      /* box-sizing: border-box; */
    }

    .father {
      width: 500px;
      height: 300px;
      background-color: darkturquoise;
      padding-top: 50px;
      margin-bottom: 50px;
      padding: 50px;
    }

    .child {
      width: 100px;
      height: 100px;
      background-color: crimson;
    }

    .father2 {
      width: 100px;
      height: 100px;
      background-color: black;
    }

    .box {
      width: 282px;
      border: 10px solid red;
      border-style: double;
      /* border-left:black; */
      /* overflow: hidden; */
      overflow: scroll;
    }

    .box>img {
      width: 400px;
      height: 160px;
      padding: 10px;
    }

    h3 {
      margin-top: 10px;
    }

    p {
      margin: 10px 20px 30px;
    }

    .font-box {
      padding: 10px;
  </style>
</head>

<body>
  <!-- <div class="father">
    <div class="child"></div>
  </div>
  <div class="father2"></div> -->
  <div class="box">
    <img src="../Img/1.png" alt="">
    <div class="font-box">
      <h3>java基础课</h3>
      <p>基础内容：</p>
    </div>
  </div>
</body>

</html>